package com.graduation.alien_yuan.smartmusicplayer.bean;

import java.util.List;

/**
 * Created by Alien_yuan on 2016/3/7.
 */
public class Spectrum {


    /**
     * userid : userid1404404202
     * spectrum : [{"frequency":"1000","amplitude":"99"},{"frequency":"2000","amplitude":"77"}]
     */

    private String userid;
    /**
     * frequency : 1000
     * amplitude : 99
     */

    private List<SpectrumEntity> spectrum;

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public void setSpectrum(List<SpectrumEntity> spectrum) {
        this.spectrum = spectrum;
    }

    public String getUserid() {
        return userid;
    }

    public List<SpectrumEntity> getSpectrum() {
        return spectrum;
    }

    public static class SpectrumEntity {
        private String frequency;
        private String amplitude;

        public void setFrequency(String frequency) {
            this.frequency = frequency;
        }

        public void setAmplitude(String amplitude) {
            this.amplitude = amplitude;
        }

        public String getFrequency() {
            return frequency;
        }

        public String getAmplitude() {
            return amplitude;
        }
    }
}
